/**
  **************************************************************************
  * @file     flapp_factory.h
  * @brief    flapp_factory header file
  **************************************************************************
  *                       Copyright notice & Disclaimer
  *
  * The software Board Support Package (BSP) that is made available to
  * download from Artery official website is the copyrighted work of Artery.
  * Artery authorizes customers to use, copy, and distribute the BSP
  * software and its related documentation for the purpose of design and
  * development in conjunction with Artery microcontrollers. Use of the
  * software is governed by this copyright notice and the following disclaimer.
  *
  * THIS SOFTWARE IS PROVIDED ON "AS IS" BASIS WITHOUT WARRANTIES,
  * GUARANTEES OR REPRESENTATIONS OF ANY KIND. ARTERY EXPRESSLY DISCLAIMS,
  * TO THE FULLEST EXTENT PERMITTED BY LAW, ALL EXPRESS, IMPLIED OR
  * STATUTORY OR OTHER WARRANTIES, GUARANTEES OR REPRESENTATIONS,
  * INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
  * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
  *
  **************************************************************************
  */

#ifndef __FLAPP_FACTORY_H__
#define __FLAPP_FACTORY_H__

#define	FACTORY_ENABLE				"AT+FACT=1\r\n"
#define	FACTORY_LED_ON_TEST		"$flash+88"
#define	FACTORY_LED_OFF_TEST	"$flash+77"
#define	FACTORY_HALL_TEST			"$swtest+12"
#define	FACTORY_NET_TEST			"$nettest+12"
#define	FACTORY_SIM_TEST			"$simtest+2"
#define	FACTORY_BUZ_TEST			"$play+2"
#define	FACTORY_SET_UUID			"$setuid+"
#define	FACTORY_DISABLE				"AT+FACT=0\r\n"

#define	FACTORY_CSQ						"csq is = %d\r\n"
#define	FACTORY_UUID					"uid = %d\r\n"
#define	FACTORY_BATTERY				"battery volume = "

void flapp_factory_rcv_run(void);
#endif
